﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
         CodeBehind="StudentAttendance.aspx.cs" Inherits="SARS.Tutor.StudentAttendance" %>

<%@ Register Src="../UserControl/UcProgramCourse.ascx" TagName="UcProgramCourse"
             TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style2 { width: 248px; }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        Student Attendance</h1>
    <br />
    <uc:UcProgramCourse ID="UcProgramCourse" runat="server" OnSelectedCourseChanged="ucProgramCourse_OnSelectedCourseChanged" />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Panel1" runat="server" Direction="LeftToRight">
                <table>
                    <tr>
                        <td class="leftLabel">
                            <asp:Label ID="Label1" runat="server" Text="Session"></asp:Label>
                        </td>
                        <td class="style2">
                            <asp:DropDownList ID="ddlSession" runat="server" DataTextField="SessionInfo" DataValueField="SessionID"
                                              OnSelectedIndexChanged="ddlSession_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td style="text-align: right" class="style2">
                            <asp:Button ID="btnAssign" runat="server" OnClick="btnAssign_Click" Text="Check Attendance" />
                            <asp:Button ID="btnCancel" runat="server" CausesValidation="False" 
                                        onclick="btnCancel_Click" Text="  Cancel  " />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>